package com.itheima.reggie;

import com.itheima.reggie.entity.User;
import com.itheima.reggie.mapper.UserMapper;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.util.List;

/**
 * @author ljj
 * @create 2022-11-13-15:30
 */
@SpringBootApplication
@ServletComponentScan
@Slf4j
@EnableTransactionManagement
//@EnableAspectJAutoProxy(exposeProxy=true)
@EnableCaching

public class ReggieAppication {

    public static void main(String[] args) {
        SpringApplication.run(ReggieAppication.class,args);
        log.info("start");
        log.info("start");
        log.info("jjj");
        log.info("jjj");
    }
}
